//
//  QLMaskUtil.h
//  QLSchool_IOS
//
//  Created by anan on 14-2-10.
//  Copyright (c) 2014年 baobaodev_anan. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "QLMaskLoadingView.h"
#import "QLMaskNodataView.h"

/**
 *  遮罩工具
 */
@interface QLMaskUtil : NSObject

+(void)showMaskLoadingWithView:(UIView*)view;
+(void)hideLoadingMaskWithView:(UIView*)view;
+(BOOL)haveLoadingViewWithView:(UIView*)view;

+(void)showMaskNodataWithView:(UIView*)view andOffsetY:(int)y andImage:(UIImage*)image andTitle:(NSString*)title;

+(void)showMaskNodataWithView:(UIView*)view andImage:(UIImage*)image andTitle:(NSString*)title
;
+(void)hideNodataMaskWithView:(UIView*)view;

+(void)showMaskNodataWithView:(UIView*)view andTitle:(NSString*)title;
+(void)showMaskNodataWithView:(UIView*)view andOffsetY:(int)y andTitle:(NSString*)title;
+(void)showMaskNodataOnlyTitleWithView:(UIView*)view andOffsetY:(int)y andTitle:(NSString*)title andDelegate:(id<QLMaskNodataViewOnClickDelegate>) delegate;

+(void)showMaskNodataWithView:(UIView*)view andImage:(UIImage*)image andTitle:(NSString*)title andDelegate:(id<QLMaskNodataViewOnClickDelegate>) delegate;
+(void)showMaskNodataWithView:(UIView*)view andOffsetY:(int)y andImage:(UIImage*)image andTitle:(NSString*)title andDelegate:(id<QLMaskNodataViewOnClickDelegate>) delegate;

@end
